package com.kl.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("city_order")
@ApiModel(value="CityOrder对象")
public class CityOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "同城订单表主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "寄件人姓名")
    private String senderName;

    @ApiModelProperty(value = "寄件人电话")
    private String senderPhone;

    @ApiModelProperty(value = "寄件人地址")
    private String senderAddress;

    @ApiModelProperty(value = "收件人姓名")
    private String consigneeName;

    @ApiModelProperty(value = "收件人电话")
    private String consigneePhone;

    @ApiModelProperty(value = "收件地址")
    private String consigneeAddress;

    @ApiModelProperty(value = "物品名")
    private String cargoName;

    @ApiModelProperty(value = "支付状态(0未支付,1审核,2已支付,3驳回,4到付)")
    private Integer paymentStatus;

    @ApiModelProperty(value = "物流费")
    private BigDecimal behalfConllection;

    @ApiModelProperty(value = "签收单")
    private String signReceipt;

    @ApiModelProperty(value = "付款方式(1当面支付,2到付)")
    private Integer termsPayment;

    @ApiModelProperty(value = "上门时间")
    private Date doorTime;

    @ApiModelProperty(value = "备注信息")
    private String remarks;

    @ApiModelProperty(value = "订单创建时间")
    private Date orderCreationtime;

    @ApiModelProperty(value = "订单更新时间")
    private Date orderUpdatetime;

    @ApiModelProperty(value = "发货时间")
    private Date deliveryTime;

    @ApiModelProperty(value = "交易完成时间")
    private Date transactionCompletiontime;

    @ApiModelProperty(value = "交易关闭时间")
    private Date closingTime;

    @ApiModelProperty(value = "物流名称")
    private String logisticsName;

    @ApiModelProperty(value = "订单状态")
    private Integer orderOverdue;

    @ApiModelProperty(value = "代收货款应收价格")
    private BigDecimal cargoNewsPrice;

    @ApiModelProperty(value = "站点名称")
    private String siteName;

    @ApiModelProperty(value = "支付宝流水号")
    private String serialNumber;

    @ApiModelProperty(value = "支付宝订单号")
    private String alyOrderNumber;

    @ApiModelProperty(value = "代收货款实收金额")
    private BigDecimal orderNewsPriceEnd;

    @ApiModelProperty(value = "货物物流状态(0未取件,1已发货,2运输中,3已签收)")
    private Integer goodsStatus;

    @ApiModelProperty(value = "明细表id")
    private Long detailedId;

    @ApiModelProperty(value = "接单状态(0等待接单,1已被接单,2超时无人接)")
    private Integer meetStatus;

    @ApiModelProperty(value = "最近站点")
    private String nearestSite;

    @ApiModelProperty(value = "接单员工id")
    private Long staffId;

    @ApiModelProperty(value = "备用")
    private String spare;


}
